<!--v-on绑定事件-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.min.js"></script>
</head>
<body>
  <div id="one">
    <button v-on:click="clickThis">点击按钮</button>
  </div>
<script>
  var vm = new Vue({
    el:"#one",
    data:{
      massage1:"v-on事件"
    },
    methods:{
      clickThis:function () {
        alert(this.massage1);
      }
    }
  });
</script>
</body>
</html>